﻿<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>系统管理</title>
    <link href="styles/main.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var BindTourType = function () {
                $.ajax({
                    type: "post",
                    async: false,
                    url: "AjaxHandler/TourismInfoTypeList.ashx?t=" + new Date(),
                    data: { action: "All" },
                    success: function (d) {
                        $("#menu").empty();
                        for (var i = 0; i < d.data.length; i++) {
                            $("#menu").append("<li id='" + d.data[i].Code + "'><a href='TourismInfo/List.aspx?typecode=" + d.data[i].Code + "' tid='" + d.data[i].Code + "' target='fmmain'>"
                                   + d.data[i].Name
                                   + " </a></li>");
                        }


                        $(".main").attr("width", $(document).width() - $(".left").width() - 20).height($(".left").height());
                        $("#fmmain").attr("width", $(document).width() - $(".left").width() - 30).height($(".left").height());
                    }
                });
            }
            BindTourType();          

        })       
    </script>
</head>
<body>
    <form id="form1" action="">
    <div class="manage-container">
        <div class="header">
            <div class="logo">
                <h1>
                    <a href="/" target="_blank">LOGO</a></h1>
            </div>
            <div class="header_right">
            <i style="font-family:华文行楷; font-size:36px; color: yellow;">系统管理平台</i>
            </div>
        </div>
        <div class="left">
            <ul>
                <li><a href="TourismInfo/List.aspx" target="fmmain">景点管理</a>
                    <ul id="menu">
                    </ul>
                </li>
                <li><a href="UserMessage/List.aspx" target="fmmain">留言管理</a></li>
                <li><a href="Banners/List.aspx" target="fmmain">Banner图</a></li>
                <li><a href="TourismInfoTag/List.aspx" target="fmmain">标签管理</a></li>
                <li><a href="TicketBuyInfo/List.aspx" target="fmmain">购票信息</a></li>
                <li><a href="Links/List.aspx" target="fmmain">友情链接</a></li>
                <li><a href="Advertisement/List.aspx" target="fmmain">广告管理</a></li>
                <li><a href="CountriesRegion/List.aspx" target="fmmain">国家地区</a></li>
                <li><a href="UserRegistry/List.aspx" target="fmmain">会员管理</a></li>
                <li><a href="TourismInfoType/List.aspx" target="fmmain">景点类型</a></li>
                <li style="display:none;"><a href="ContentInterest" target="fmmain" >收藏列表</a></li>
                <li><a href="ContentInterest/List.aspx" target="fmmain">常见问题</a></li>
                <li style="display:none;"><a href="#" target="fmmain">特别推荐</a></li>
                <li><a href="SysUser/List.aspx" target="fmmain">系统用户</a></li>
                <li><a href="SysConfig/List.aspx" target="fmmain">系统设置</a></li>
                <li style="display:none;"><a href="#">浏览日志</a></li>
                <li style="display:none;"><a href="#">统计分析</a></li>
                <li><a href="#">日　　志</a></li>
                <li><a href="RecycleBin/List.aspx" target="fmmain">回 收 站</a></li>
                <li><a href="AjaxHandler/AdminLogout.ashx">退出</a></li>
            </ul>
        </div>
        <div class="main">
            <iframe id="fmmain" name="fmmain" height="500" frameborder="1" src="TourismInfo/List.aspx"
                width="1010" />
        </div>
    </div>
    </form>
</body>
</html>
